package com.bdqn.ssm.service.impl;


import com.bdqn.ssm.dao.IClazzDao;
import com.bdqn.ssm.entity.Clazz;
import com.bdqn.ssm.service.IClazzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2017/2/16.
 */
@Service("clazzService")
@Transactional
public class ClazzService implements IClazzService {
    @Autowired
    IClazzDao clazzDao;
    @Override
    public List<Clazz> listAll() {
        return clazzDao.listAllClazz();
    }
}
